
package model.semantics;

import java.util.Collection;

import model.RGBColor;

/**
 * Abstract class for all punctuation tokens.
 * 
 * @author Troy Ferrell
 *
 */
public class PunctuationToken extends AbstractToken 
{
	public PunctuationToken(int precedence) 
	{
		super(precedence);
	}

	/* (non-Javadoc)
	 * @see model.semantics.AbstractToken#addChild(model.semantics.AbstractToken)
	 */
	@Override
	public boolean addChild(AbstractToken o) {
		return false;
	}

	/* (non-Javadoc)
	 * @see model.semantics.AbstractToken#getChildren()
	 */
	@Override
	public Collection<AbstractToken> getChildren() {
		return null;
	}

	/* (non-Javadoc)
	 * @see model.semantics.AbstractToken#evaluateSafely(model.RGBColor[])
	 */
	@Override
	protected RGBColor evaluateSafely(RGBColor[] colors) {
		return null;
	}

}
